﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Diplom.Graphics.D3D.Helpers
{
    public class Edge
    {
        public PointF a;
        public PointF b;

        public Edge() { ;}
        public Edge(PointF _a, PointF _b)
        {
            a = _a;
            b = _b;
        }
        
        public Edge(double aX, double aY, double bX, double bY)
        {
            a.X = (float)aX;
            a.Y = (float)aY;
            b.X = (float)bX;
            b.Y = (float)bY;
        }

        public Edge(float aX, float aY, float bX, float bY)
        {
            a.X = aX;
            a.Y = aY;
            b.X = bX;
            b.Y = bY;
        }
    }
}
